package com.mobilepay.moneypig.response.home;

import com.google.gson.annotations.SerializedName;
import com.mobilepay.moneypig.response.ResponseResult;

import java.io.Serializable;
import java.util.List;

/**
 * Created by xlm on 2017/7/26 0026
 */

public class NotesData extends ResponseResult {

    /**
     * data : {"total":13,"per_page":5,"current_page":1,"last_page":3,"data":[{"id":13,"uid":59,"title":"我是消息标题13","body":"我是消息内容13","sender":1,"is_look":0,"status":1,"create_time":1499075118,"update_time":2},{"id":2,"uid":59,"title":"我是消息标题2","body":"我是消息内容2","sender":1,"is_look":0,"status":1,"create_time":1499075118,"update_time":2},{"id":3,"uid":59,"title":"我是消息标题3","body":"我是消息内容3","sender":1,"is_look":0,"status":1,"create_time":1499075118,"update_time":2},{"id":4,"uid":59,"title":"我是消息标题4","body":"我是消息内容4","sender":1,"is_look":0,"status":1,"create_time":1499075118,"update_time":2},{"id":5,"uid":59,"title":"我是消息标题5","body":"我是消息内容5","sender":1,"is_look":0,"status":1,"create_time":1499075118,"update_time":2}]}
     */

    private DataBeanX data;

    public DataBeanX getData() {
        return data;
    }

    public void setData(DataBeanX data) {
        this.data = data;
    }

    public static class DataBeanX implements Serializable {
        /**
         * total : 13
         * per_page : 5
         * current_page : 1
         * last_page : 3
         * data : [{"id":13,"uid":59,"title":"我是消息标题13","body":"我是消息内容13","sender":1,"is_look":0,"status":1,"create_time":1499075118,"update_time":2},{"id":2,"uid":59,"title":"我是消息标题2","body":"我是消息内容2","sender":1,"is_look":0,"status":1,"create_time":1499075118,"update_time":2},{"id":3,"uid":59,"title":"我是消息标题3","body":"我是消息内容3","sender":1,"is_look":0,"status":1,"create_time":1499075118,"update_time":2},{"id":4,"uid":59,"title":"我是消息标题4","body":"我是消息内容4","sender":1,"is_look":0,"status":1,"create_time":1499075118,"update_time":2},{"id":5,"uid":59,"title":"我是消息标题5","body":"我是消息内容5","sender":1,"is_look":0,"status":1,"create_time":1499075118,"update_time":2}]
         */

        private int total;
        private int per_page;
        private int current_page;
        private int last_page;
        private List<DataBean> data;

        public int getTotal() {
            return total;
        }

        public void setTotal(int total) {
            this.total = total;
        }

        public int getPer_page() {
            return per_page;
        }

        public void setPer_page(int per_page) {
            this.per_page = per_page;
        }

        public int getCurrent_page() {
            return current_page;
        }

        public void setCurrent_page(int current_page) {
            this.current_page = current_page;
        }

        public int getLast_page() {
            return last_page;
        }

        public void setLast_page(int last_page) {
            this.last_page = last_page;
        }

        public List<DataBean> getData() {
            return data;
        }

        public void setData(List<DataBean> data) {
            this.data = data;
        }

        public static class DataBean implements Serializable {
            /**
             * id : 13
             * uid : 59
             * title : 我是消息标题13
             * body : 我是消息内容13
             * sender : 1
             * is_look : 0
             * status : 1
             * create_time : 1499075118
             * update_time : 2
             */

            private int id;
            private int uid;
            private String title;
            private String body;
            private int sender;
            private int is_look;
            @SerializedName("status")
            private int statusX;
            private long create_time;
            private long update_time;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getUid() {
                return uid;
            }

            public void setUid(int uid) {
                this.uid = uid;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getBody() {
                return body;
            }

            public void setBody(String body) {
                this.body = body;
            }

            public int getSender() {
                return sender;
            }

            public void setSender(int sender) {
                this.sender = sender;
            }

            public int getIs_look() {
                return is_look;
            }

            public void setIs_look(int is_look) {
                this.is_look = is_look;
            }

            public int getStatusX() {
                return statusX;
            }

            public void setStatusX(int statusX) {
                this.statusX = statusX;
            }

            public long getCreate_time() {
                return create_time;
            }

            public void setCreate_time(long create_time) {
                this.create_time = create_time;
            }

            public long getUpdate_time() {
                return update_time;
            }

            public void setUpdate_time(long update_time) {
                this.update_time = update_time;
            }
        }
    }
}
